﻿
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ include file="../Connections/test.jsp" %>
<%
String Recordset1__MMColParam = "1";
if (request.getParameter("teacherID") !=null) {Recordset1__MMColParam = (String)request.getParameter("teacherID");}
%>
<%
Driver DriverRecordset1 = (Driver)Class.forName(MM_test_DRIVER).newInstance();
Connection ConnRecordset1 = DriverManager.getConnection(MM_test_STRING,MM_test_USERNAME,MM_test_PASSWORD);
PreparedStatement StatementRecordset1 = ConnRecordset1.prepareStatement("SELECT * FROM shengwuyixue.teacher WHERE teacherID = " + Recordset1__MMColParam + "");
ResultSet Recordset1 = StatementRecordset1.executeQuery();
boolean Recordset1_isEmpty = !Recordset1.next();
boolean Recordset1_hasData = !Recordset1_isEmpty;
Object Recordset1_data;
int Recordset1_numRows = 0;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>北京交通大学计算机与信息技术学院生物医学工程系</title>
<link href="<%=request.getContextPath()%>/include/css/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {
	font-size: 16px;
	font-weight: bold;
}
.STYLE3 {
	font-size: 18px;
	font-weight: bold;
}
.STYLE5 {font-size: 16px}
.STYLE6 {font-family: "新宋体"}
.STYLE7 {font-size: 14px}
.STYLE8 {	font-size: 16;
	font-weight: bold;
	color: #FFFFFF;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
</head>
<body>
<div class="zhong">
  
     <jsp:include page="/include/banner.jsp"/>
  <jsp:include page="/include/menu.jsp"/>
  <div class="meun_2"><span class="STYLE7 meun_2 STYLE10"><span class="STYLE8"><%= ((session.getValue("MM_Username")!=null)?session.getValue("MM_Username"):"") %></span>您好，欢迎来到北京交通大学计算机与信息技术学院生物医学工程系</span></div>
  <div class="main">
    <div class="left">
      <div class="box_1">
        <div class="left_title STYLE1">师资队伍</div>
        <div class="left_news">
          <ul>
            <li><a href="teacher.jsp" class="hover">专职教师</a></li>
            <li><a href="professor.jsp">兼职教授</a></li>
            
			<li><a href="administrator.jsp">行政人员</a></li>
          </ul>
        </div>
      </div>
     <!--
	 
	  <div class="box_1">
        <div class="left_title STYLE1">合作交流</div>
        <div class="left_nr">
          <ul>
            <li><a href="">项目合作交流</a></li>
            <li><a href="">教学合作交流</a></li>
			<li><a href="">公司企业交流</a></li>
            <li><a href="">国内合作交流</a></li>
            <li><a href="">国外合作交流</a></li>
			
          </ul>
        </div>
      </div>
      <div class="box_1" style="margin:0px;">
        <div class="left_title STYLE1">信息服务</div>
        <div class="left_nr">
          <ul>
            <li><a href="#">资源下载</a></li>
			 <li><a href="#">资源上传</a></li>
			  <li><a href="#">注册登录</a></li>
			   <li><a href="#">后台管理</a></li>
			
			
          </ul>
        </div>
      </div>
	  
	  -->
	  
    </div>
    <div class="right">
      <div class="right_title STYLE5 STYLE6">
        <p>详细信息【<%=(((Recordset1_data = Recordset1.getObject("teachername"))==null || Recordset1.wasNull())?"":Recordset1_data)%>】</p>
        <p>&nbsp;</p>
        <table width="96%" border="0">
          <tr>
            <td><table width="58%" border="0">
              <tr>
                <td width="22%"><div align="right">教龄：</div></td>
                <td width="78%"><%=(((Recordset1_data = Recordset1.getObject("teach_year"))==null || Recordset1.wasNull())?"":Recordset1_data)%></td>
              </tr>
              <tr>
                <td><div align="right" class="STYLE7">职称：</div></td>
                <td>兼职教授</td>
              </tr>
              <tr>
                <td><div align="right" class="STYLE7">研究领域：</div></td>
                <td><%=(((Recordset1_data = Recordset1.getObject("major"))==null || Recordset1.wasNull())?"":Recordset1_data)%></td>
              </tr>
              <tr>
                <td><div align="right" class="STYLE7">联系电话：</div></td>
                <td><%=(((Recordset1_data = Recordset1.getObject("tel"))==null || Recordset1.wasNull())?"":Recordset1_data)%></td>
              </tr>
              <tr>
                <td><div align="right" class="STYLE7">办公室地址：</div></td>
                <td><%=(((Recordset1_data = Recordset1.getObject("office"))==null || Recordset1.wasNull())?"":Recordset1_data)%></td>
              </tr>
              <tr>
                <td><div align="right" class="STYLE7">邮箱：</div></td>
                <td><%=(((Recordset1_data = Recordset1.getObject("email"))==null || Recordset1.wasNull())?"":Recordset1_data)%></td>
              </tr>
              <tr>
                <td><div align="right" class="STYLE7">简介：</div></td>
                <td><%=(((Recordset1_data = Recordset1.getObject("introduction"))==null || Recordset1.wasNull())?"":Recordset1_data)%></td>
              </tr>
              <tr>
                <td colspan="2"><input name="Submit" type="button" onclick="MM_goToURL('parent','index.jsp');return document.MM_returnValue" value="返回" />
                  &nbsp;&nbsp;
                  <input name="Submit2" type="button" onclick="MM_goToURL('parent','../index.jsp');return document.MM_returnValue" value="退出" /></td>
              </tr>
            </table></td>
            <td><input name="imageField" type="image" src="image/<%=(((Recordset1_data = Recordset1.getObject("image"))==null || Recordset1.wasNull())?"":Recordset1_data)%>" align="top" /></td>
          </tr>
        </table>
        <p>&nbsp;</p>
          
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
      </div>
    </div>
	<p></p>
    <!--这里是链接模块,已删除，可自行添加-->
	<div class="clear"></div>
    <div class="clear"></div>
  </div>
	
	
    <div class="clear"></div>
</div>
  <div class="bottom">
    <p>地址：北京市海淀区上园村3号北京交通大学信息中心　邮编：100044　 </p>
    <p>北京交通大学计算机与信息技术学院生物医学工程系保留网站所有权利</p>
    <p> 未经允许不得复制、镜像</p>
    <p>京公网安备：110402430059 号</p>
    <br />
  版权所有&copy;ouchanghai,cit.bjtu.</div>
</div>
<script src="<%=request.getContextPath()%>/include/js/meun.js" type="text/javascript"></script>
</body>
</html>
<%
Recordset1.close();
StatementRecordset1.close();
ConnRecordset1.close();
%>
